home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 7 / BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso / Files / Hyper / Co-Cz / COLUMNIZER.cpt / columnizer / card_3823.txt < prev    next >
Text File  |  1988-02-24  |  2KB  |  89 lines

  1. -- card: 3823 from stack: in
  2. -- bmap block id: 4149
  3. -- flags: 4000
  4. -- background id: 2562
  5. -- name: Columnizer™ XCMD Help
  6.  
  7.  
  8. -- part 1 (field)
  9. -- low flags: 01
  10. -- high flags: 2007
  11. -- rect: left=75 top=138 right=285 bottom=407
  12. -- title width / last selected line: 0
  13. -- icon id / first selected line: 0 / 0
  14. -- text alignment: 0
  15. -- font id: 3
  16. -- text size: 9
  17. -- style flags: 256
  18. -- line height: 11
  19. -- part name: 
  20.  
  21.  
  22. -- part contents for background part 5
  23. ----- text -----
  24. Columnizer‚Ñ¢ XCMD Help
  25.  
  26. -- part contents for card part 1
  27. ----- text -----
  28. COLUMNIZER is a FREEWARE XCMD and stack brought to you by COM~LINK.  If you use it in your own stacks, please include the following line somewhere in your 
  29. 'About' or 'Credits' card.  Thank you.
  30.  
  31.     "COLUMNIZER XCMD by S.Koren/COM~LINK"
  32.  
  33.  
  34. COLUMNIZER is an XCMD which allows you to easily set up text in columns on a line by line basis.  Among the things which COLUMNIZER is capable of doing are:
  35.  
  36.   -- Specify a starting column for text
  37.   -- Specify columns at word breaks
  38.   -- Specify columns at delimited fields (delimited by       
  39.        '\')
  40.   -- Specify column separation
  41.   -- Return a character at a given column within a line.
  42.   -- Return a word at a given column
  43.   -- Return a delimited field.
  44.  
  45.  
  46. COLUMNIZER SYNTAX:
  47.  
  48. Columnize <mode>,<start col>,<submode>,<field>
  49.  
  50. <mode> = 0 or 1 or 2
  51.               0 - Columnize
  52.               1 - Extract
  53.               2 - Columnize Fields
  54.  
  55. when <mode> = 0 or 2:
  56.  
  57. <start col> = the column where the first column will occur.
  58.  
  59. <submode> = the number of columns between 'text' columns. (The number of columns between the start of field 'a' and the start of field 'b'.)
  60.  
  61. <field>  = a line of text to be put into columns.
  62.  
  63. NOTE:  when <mode> = 2 the delimiting '\' are removed in the final columnized field.
  64.  
  65. when <mode> = 1:
  66.  
  67. <start col> = the column to start extraction from.
  68.  
  69. <submode> = 0 or 1 or 2
  70.     0 - extract character
  71.     1 - extract word
  72.     2 - extract field
  73.  
  74.    when submode = 1:
  75.       Extraction will extract all characters from <start col> to the next space.
  76.  
  77.    when submode = 2:
  78.       Extraction will extract all characters from <start col> to the next '\' delimiter.  NOTE:  this submode requires a copy of the original 'uncolumnized' line to work.
  79.  
  80.  
  81.  
  82. Play with the previous card using different values and observe the results.
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.